<!DOCTYPE HTML>
<html lang="ru-RU">
    <head>
		<title>Авторизация</title>
		<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
		<link rel="stylesheet" type="text/css" href="/tpl/admin/css/a.css" media="all" />
		<link rel="shortcut icon" type="image/x-icon" href="/tpl/admin/images/lock.ico" />
    </head>
    <body id="login">
		<div class="login">
			<form action="" method="post">
				<table>
					<tr>
						<td>Логин</td>
						<td><input type="text" id="login_login" name="login[login]" value="{$login['login']}" /></td>
					</tr>
					<tr>
						<td>Пароль</td>
						<td><input type="password" id="login_password" name="login[password]" value="{$login['password']}" /></td>
					</tr>
					<tr>
						<td colspan="2" class="buttons">
							<input type="submit" class="login" id="login_submit" value="Войти" />
							<input type="reset" class="cancel" id="login_reset" value="Вернуться" onclick="location.href='/'" />
						</td>
					</tr>
				</table>
			</form>
			{if isset($error)} <div class="errors">{$error}</div> {/if}
		</div>
    </body>
</html>